package com.wyg.epdata.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wyg.epdata.entity.CompanyIntro;
import com.wyg.epdata.entity.vo.CountByDate;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author WangYongGan
 * @since 2021-11-08
 */
@Service
public interface CompanyDataService extends IService<CompanyIntro> {
    //entity模糊查询
    List<String> like(String name);

    //根据时间获取负面信息量
    List<CountByDate> getCountRegByDate(String begin, String end, String entity);

    //根据时间获取正面信息量
    List<CountByDate> getCountPoiByDate(String begin, String end, String entity);

    // 根据月份获取企业信息量
    List<CountByDate> getMonthCountByDate(String begin, String end, String entity);
}
